<g:if test="${ngController}">ng-controller="${ngController}"</g:if> <g:if test="${ngClick}">ng-click="${ngClick}"</g:if> <g:if test="${href}">href="${href}"</g:if><g:elseif test="${ngHref}">ng-href="${ngHref}"</g:elseif>